<#assign module="gasstation"/>

<@override name="header">
<link rel="stylesheet" href="${ctx}/assets/css/form.css">
</@override>
<@override name="body">

<div class="row">
	<div class="col-xs-8">
		<ul class="nav nav-tabs">
            <li class="active"><a href="${ctx}/gasstation/list">油站管理</a></li>
            <li><a href="${ctx}/gasstation/orderList">订单汇总</a></li>
            <li><a href="${ctx}/gasstation/paymentsRecordAll">资金流水</a></li>
        </ul>
	</div>
    <div class="col-xs-4">
    	<button class="pull-right btn btn-primary" onclick="window.location='${ctx}/gasstation/add'"><i class="icon-plus"></i>&nbsp;添加加油站</button>
	</div>
</div>
<div class="row query-pad">
	<div class="col-xs-10" style="padding: 0px;">
		<div class="col-xs-4 input-query">
			<span>服务号:</span>
			<input type="text" class="form-control form-contb" id="serviceNo"  placeholder="服务号"/>
		</div>
		<div class="col-xs-4 input-query">
			<span>地址:</span>
			<input type="text" class="form-control form-contb" id="address"  placeholder="地址"/>
		</div>
		<div class="col-xs-4 input-query">
			<span>联系电话:</span>
			<input type="text" class="form-control form-contb" id="contactsPhone" placeholder="联系电话"/>
		</div>
	</div>
	<div class="col-xs-2"style="padding: 0px;">
			<div class="input-query-bttom" >
				<button  id="export_button" style="margin-left:10px;" type="button" class="btn btn-primary"><i class="glyphicon glyphicon-save"></i>导出</button>
    		</div>
    		<div class="input-query-bttom" >
				<button  id="searchButton" style="margin-left:10px;" class="btn btn-primary" type="button">查询</button>
    		</div>
	</div>
</div>
<div class="tabta-content"> 
    <div class="panel panel-default margin-top">
        <div class="panel-body">
            <table class="table table-condensed table-striped" >
				<tbody id="gasstation_tbody">
					<tr>
						<th>操作</th>
						<th>服务号</th>
						<th>名称</th>
						<th>余额</th>
						<th>地址</th>
						<th>品牌</th>
						<th>-10#柴油</th>
						<th>-20#柴油</th>
						<th>0#柴油</th>
						<th>90#汽油</th>
						<th>92#汽油</th>
						<th>93#汽油</th>
						<th>95#汽油</th>
						<th>97#汽油</th>
						<th>98#汽油</th>
						<th>天然气</th>
						<th>联系人</th>
						<th>联系电话</th>
						<th>座机</th>
					</tr>
				</tbody>
			</table>
			<div style="text-align:center" id="NoData"></div>
			<ul class="pagination pull-left pagination-sm pageshow" style="display:none;">
				<li><a></a></li>
			</ul>
			<ul class="pagination pull-left pagination-sm pagedata" style="display:none;">
		    </ul>
        </div>
    </div>
</div>

<div class="modal" id="dialog_password">
  <div class="modal-dialog" style="top:150px;">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close close_modal" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">新密码将通过短信告知管理员</h4>
      </div>
      <div class="modal-body">
      <form id="update_password_form">
      	<div class="form-horizontal">
	        <div class="form-group">
	            <label class="col-sm-3 control-label"><em style="color:red">*</em>新密码：</label>
	            <div class="col-sm-5">
	            	<input class="form-control" id="password" type="password"  required>
	        	</div>
	        </div>
	        <div class="form-group">
	            <label class="col-sm-3 control-label"><em style="color:red">*</em>确认密码：</label>
	            <div class="col-sm-5">
	            	<input class="form-control" id="passwordconfirm" type="password"  required>
	        	</div>
	        </div>
	    </div>
	  </form>
      </div>
      <div class="modal-footer">
    	<button type="button" class="btn btn-primary" id="ok_modal">确定</button>
    	<button type="button" class="btn btn-default close_modal">取消</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div>

</@override>
<@override name="footer">
<script src="${ctx}/assets/js/region_select.js"></script>
<script src="//api.map.baidu.com/api?v=2.0&ak=AuNk3YS21DSmHEEvIFDf9dbD" type="text/javascript"></script>
<script type="text/javascript">
window.daijia = {ctx : '${ctx}'};
var gasstationDelete=false;
<@shiro.hasPermission name='gasstationDelete'>
	gasstationDelete=true;
</@shiro.hasPermission>
</script>
<script src="${ctx}/assets/js/jquery.raty.js"></script>
<script src="${ctx}/assets/js/datepicker.js"></script>
<script src="${ctx}/assets/js/jquery.paging.min.js"></script>
<script src="${ctx}/assets/js/gasstation/list.js"></script>
</@override>
<@extends name="../layout.ftl"/>